package com.example.lottery_system.contoller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;

@Data
public class UserRegisterParam implements Serializable {
    @NotBlank(message = "姓名不能为空！")
    private String name;

    @NotBlank(message = "邮箱不能为空！")
    private String mail;

    @NotBlank(message = "电话不能为空！")
    private String phoneNumber;

    private String password; // 普通用户注册不需要进行密码填写

    @NotBlank(message = "身份信息不能为空！")
    private String identity; // 身份信息
}
